﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using JEng_Editor.MaterialControl;

namespace JEng_Editor
{
    public partial class EditorForm : Form
    {
        private MaterialEditorControl _matedC;

        public IntPtr GetDrawSurface()
        {
            return pctSurface.Handle;
        }

        public EditorForm()
        {
            _matedC = new MaterialEditorControl();

            InitializeComponent();

            //setup material editor control
            this._matedC.Location = new System.Drawing.Point(350, 12);
            this._matedC.Name = "matedControl";
            this._matedC.Size = new System.Drawing.Size(450, 450);
            this._matedC.TabIndex = 1;
            this._matedC.TabStop = false;
            this.Controls.Add(this._matedC);
        }

        private void PopulateMaterialList()
        {
            this.materialsL.Items.Add("Standard Material", 0);
        }
    }
}
